
export function handelText(labelList) {
  if (!labelList || labelList.length === 0) return '';
  const shortText = [];
  const longText = labelList.map(i => {
    const temp = i.title ? `${i.title}：${i.value}` : i.value;
    shortText.push(temp);
    return i.isExcludeKey ? `${i.name}(不包含)：${i.value}` : `${i.name}：${i.value}`;
  }).join('\n');
  return {
    longText: `<div style="line-height: 1.5;">${longText}</div>`,
    shortText: shortText.join('，')
  };
}
